<?php
namespace app\admin\controller;


use app\admin\service\MenuService;

class Index extends CommonController
{
    public function index()
    {
        $menu = MenuService::getAdminTree($this->admin);
        return view('', ['menu' => $menu, 'admin' => $this->admin]);
    }
}
